Optimal. Leaf size=219 \[ \frac {x \left (a+b x^3\right )^{2/3} \left (2 a^2 d^2-9 a b c d+27 b^2 c^2\right )}{81 b^2}-\frac {a \left (2 a^2 d^2-9 a b c d+27 b^2 c^2\right ) \log \left (\sqrt [3]{a+b x^3}-\sqrt [3]{b} x\right )}{81 b^{7/3}}+\frac {2 a \left (2 a^2 d^2-9 a b c d+27 b^2 c^2\right ) \tan ^{-1}\left (\frac {\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1}{\sqrt {3}}\right )}{81 \sqrt {3} b^{7/3}}+\frac {2 d x \left (a+b x^3\right )^{5/3} (3 b c-a d)}{27 b^2}+\frac {d x \left (a+b x^3\right )^{5/3} \left (c+d x^3\right )}{9 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.17, antiderivative size = 219, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {416, 388, 195, 239} \[ \frac {x \left (a+b x^3\right )^{2/3} \left (2 a^2 d^2-9 a b c d+27 b^2 c^2\right )}{81 b^2}-\frac {a \left (2 a^2 d^2-9 a b c d+27 b^2 c^2\right ) \log \left (\sqrt [3]{a+b x^3}-\sqrt [3]{b} x\right )}{81 b^{7/3}}+\frac {2 a \left (2 a^2 d^2-9 a b c d+27 b^2 c^2\right ) \tan ^{-1}\left (\frac {\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1}{\sqrt {3}}\right )}{81 \sqrt {3} b^{7/3}}+\frac {2 d x \left (a+b x^3\right )^{5/3} (3 b c-a d)}{27 b^2}+\frac {d x \left (a+b x^3\right )^{5/3} \left (c+d x^3\right )}{9 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 195
Rule 239
Rule 388
Rule 416
Rubi steps
\begin {align*} \int \left (a+b x^3\right )^{2/3} \left (c+d x^3\right )^2 \, dx &=\frac {d x \left (a+b x^3\right )^{5/3} \left (c+d x^3\right )}{9 b}+\frac {\int \left (a+b x^3\right )^{2/3} \left (c (9 b c-a d)+4 d (3 b c-a d) x^3\right ) \, dx}{9 b}\\ &=\frac {2 d (3 b c-a d) x \left (a+b x^3\right )^{5/3}}{27 b^2}+\frac {d x \left (a+b x^3\right )^{5/3} \left (c+d x^3\right )}{9 b}-\frac {(4 a d (3 b c-a d)-6 b c (9 b c-a d)) \int \left (a+b x^3\right )^{2/3} \, dx}{54 b^2}\\ &=\frac {\left (27 b^2 c^2-9 a b c d+2 a^2 d^2\right ) x \left (a+b x^3\right )^{2/3}}{81 b^2}+\frac {2 d (3 b c-a d) x \left (a+b x^3\right )^{5/3}}{27 b^2}+\frac {d x \left (a+b x^3\right )^{5/3} \left (c+d x^3\right )}{9 b}+\frac {\left (2 a \left (27 b^2 c^2-9 a b c d+2 a^2 d^2\right )\right ) \int \frac {1}{\sqrt [3]{a+b x^3}} \, dx}{81 b^2}\\ &=\frac {\left (27 b^2 c^2-9 a b c d+2 a^2 d^2\right ) x \left (a+b x^3\right )^{2/3}}{81 b^2}+\frac {2 d (3 b c-a d) x \left (a+b x^3\right )^{5/3}}{27 b^2}+\frac {d x \left (a+b x^3\right )^{5/3} \left (c+d x^3\right )}{9 b}+\frac {2 a \left (27 b^2 c^2-9 a b c d+2 a^2 d^2\right ) \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}}{\sqrt {3}}\right )}{81 \sqrt {3} b^{7/3}}-\frac {a \left (27 b^2 c^2-9 a b c d+2 a^2 d^2\right ) \log \left (-\sqrt [3]{b} x+\sqrt [3]{a+b x^3}\right )}{81 b^{7/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 5.17, size = 203, normalized size = 0.93 \[ \frac {3 \sqrt [3]{b} x \left (a+b x^3\right )^{2/3} \left (-4 a^2 d^2+3 a b d \left (6 c+d x^3\right )+9 b^2 \left (3 c^2+3 c d x^3+d^2 x^6\right )\right )+a \left (2 a^2 d^2-9 a b c d+27 b^2 c^2\right ) \left (\log \left (\frac {b^{2/3} x^2}{\left (a+b x^3\right )^{2/3}}+\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1\right )-2 \log \left (1-\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )+2 \sqrt {3} \tan ^{-1}\left (\frac {\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1}{\sqrt {3}}\right )\right )}{243 b^{7/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 634, normalized size = 2.89 \[ \left [\frac {3 \, \sqrt {\frac {1}{3}} {\left (27 \, a b^{3} c^{2} - 9 \, a^{2} b^{2} c d + 2 \, a^{3} b d^{2}\right )} \sqrt {\frac {\left (-b\right )^{\frac {1}{3}}}{b}} \log \left (3 \, b x^{3} - 3 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}} \left (-b\right )^{\frac {2}{3}} x^{2} - 3 \, \sqrt {\frac {1}{3}} {\left (\left (-b\right )^{\frac {1}{3}} b x^{3} - {\left (b x^{3} + a\right )}^{\frac {1}{3}} b x^{2} + 2 \, {\left (b x^{3} + a\right )}^{\frac {2}{3}} \left (-b\right )^{\frac {2}{3}} x\right )} \sqrt {\frac {\left (-b\right )^{\frac {1}{3}}}{b}} + 2 \, a\right ) - 2 \, {\left (27 \, a b^{2} c^{2} - 9 \, a^{2} b c d + 2 \, a^{3} d^{2}\right )} \left (-b\right )^{\frac {2}{3}} \log \left (\frac {\left (-b\right )^{\frac {1}{3}} x + {\left (b x^{3} + a\right )}^{\frac {1}{3}}}{x}\right ) + {\left (27 \, a b^{2} c^{2} - 9 \, a^{2} b c d + 2 \, a^{3} d^{2}\right )} \left (-b\right )^{\frac {2}{3}} \log \left (\frac {\left (-b\right )^{\frac {2}{3}} x^{2} - {\left (b x^{3} + a\right )}^{\frac {1}{3}} \left (-b\right )^{\frac {1}{3}} x + {\left (b x^{3} + a\right )}^{\frac {2}{3}}}{x^{2}}\right ) + 3 \, {\left (9 \, b^{3} d^{2} x^{7} + 3 \, {\left (9 \, b^{3} c d + a b^{2} d^{2}\right )} x^{4} + {\left (27 \, b^{3} c^{2} + 18 \, a b^{2} c d - 4 \, a^{2} b d^{2}\right )} x\right )} {\left (b x^{3} + a\right )}^{\frac {2}{3}}}{243 \, b^{3}}, -\frac {6 \, \sqrt {\frac {1}{3}} {\left (27 \, a b^{3} c^{2} - 9 \, a^{2} b^{2} c d + 2 \, a^{3} b d^{2}\right )} \sqrt {-\frac {\left (-b\right )^{\frac {1}{3}}}{b}} \arctan \left (-\frac {\sqrt {\frac {1}{3}} {\left (\left (-b\right )^{\frac {1}{3}} x - 2 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}}\right )} \sqrt {-\frac {\left (-b\right )^{\frac {1}{3}}}{b}}}{x}\right ) + 2 \, {\left (27 \, a b^{2} c^{2} - 9 \, a^{2} b c d + 2 \, a^{3} d^{2}\right )} \left (-b\right )^{\frac {2}{3}} \log \left (\frac {\left (-b\right )^{\frac {1}{3}} x + {\left (b x^{3} + a\right )}^{\frac {1}{3}}}{x}\right ) - {\left (27 \, a b^{2} c^{2} - 9 \, a^{2} b c d + 2 \, a^{3} d^{2}\right )} \left (-b\right )^{\frac {2}{3}} \log \left (\frac {\left (-b\right )^{\frac {2}{3}} x^{2} - {\left (b x^{3} + a\right )}^{\frac {1}{3}} \left (-b\right )^{\frac {1}{3}} x + {\left (b x^{3} + a\right )}^{\frac {2}{3}}}{x^{2}}\right ) - 3 \, {\left (9 \, b^{3} d^{2} x^{7} + 3 \, {\left (9 \, b^{3} c d + a b^{2} d^{2}\right )} x^{4} + {\left (27 \, b^{3} c^{2} + 18 \, a b^{2} c d - 4 \, a^{2} b d^{2}\right )} x\right )} {\left (b x^{3} + a\right )}^{\frac {2}{3}}}{243 \, b^{3}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{3} + a\right )}^{\frac {2}{3}} {\left (d x^{3} + c\right )}^{2}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.38, size = 0, normalized size = 0.00 \[ \int \left (b \,x^{3}+a \right )^{\frac {2}{3}} \left (d \,x^{3}+c \right )^{2}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.48, size = 552, normalized size = 2.52 \[ -\frac {1}{9} \, {\left (\frac {2 \, \sqrt {3} a \arctan \left (\frac {\sqrt {3} {\left (b^{\frac {1}{3}} + \frac {2 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}}}{x}\right )}}{3 \, b^{\frac {1}{3}}}\right )}{b^{\frac {1}{3}}} - \frac {a \log \left (b^{\frac {2}{3}} + \frac {{\left (b x^{3} + a\right )}^{\frac {1}{3}} b^{\frac {1}{3}}}{x} + \frac {{\left (b x^{3} + a\right )}^{\frac {2}{3}}}{x^{2}}\right )}{b^{\frac {1}{3}}} + \frac {2 \, a \log \left (-b^{\frac {1}{3}} + \frac {{\left (b x^{3} + a\right )}^{\frac {1}{3}}}{x}\right )}{b^{\frac {1}{3}}} + \frac {3 \, {\left (b x^{3} + a\right )}^{\frac {2}{3}} a}{{\left (b - \frac {b x^{3} + a}{x^{3}}\right )} x^{2}}\right )} c^{2} + \frac {1}{27} \, {\left (\frac {2 \, \sqrt {3} a^{2} \arctan \left (\frac {\sqrt {3} {\left (b^{\frac {1}{3}} + \frac {2 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}}}{x}\right )}}{3 \, b^{\frac {1}{3}}}\right )}{b^{\frac {4}{3}}} - \frac {a^{2} \log \left (b^{\frac {2}{3}} + \frac {{\left (b x^{3} + a\right )}^{\frac {1}{3}} b^{\frac {1}{3}}}{x} + \frac {{\left (b x^{3} + a\right )}^{\frac {2}{3}}}{x^{2}}\right )}{b^{\frac {4}{3}}} + \frac {2 \, a^{2} \log \left (-b^{\frac {1}{3}} + \frac {{\left (b x^{3} + a\right )}^{\frac {1}{3}}}{x}\right )}{b^{\frac {4}{3}}} + \frac {3 \, {\left (\frac {{\left (b x^{3} + a\right )}^{\frac {2}{3}} a^{2} b}{x^{2}} + \frac {2 \, {\left (b x^{3} + a\right )}^{\frac {5}{3}} a^{2}}{x^{5}}\right )}}{b^{3} - \frac {2 \, {\left (b x^{3} + a\right )} b^{2}}{x^{3}} + \frac {{\left (b x^{3} + a\right )}^{2} b}{x^{6}}}\right )} c d - \frac {1}{243} \, {\left (\frac {4 \, \sqrt {3} a^{3} \arctan \left (\frac {\sqrt {3} {\left (b^{\frac {1}{3}} + \frac {2 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}}}{x}\right )}}{3 \, b^{\frac {1}{3}}}\right )}{b^{\frac {7}{3}}} - \frac {2 \, a^{3} \log \left (b^{\frac {2}{3}} + \frac {{\left (b x^{3} + a\right )}^{\frac {1}{3}} b^{\frac {1}{3}}}{x} + \frac {{\left (b x^{3} + a\right )}^{\frac {2}{3}}}{x^{2}}\right )}{b^{\frac {7}{3}}} + \frac {4 \, a^{3} \log \left (-b^{\frac {1}{3}} + \frac {{\left (b x^{3} + a\right )}^{\frac {1}{3}}}{x}\right )}{b^{\frac {7}{3}}} + \frac {3 \, {\left (\frac {2 \, {\left (b x^{3} + a\right )}^{\frac {2}{3}} a^{3} b^{2}}{x^{2}} + \frac {11 \, {\left (b x^{3} + a\right )}^{\frac {5}{3}} a^{3} b}{x^{5}} - \frac {4 \, {\left (b x^{3} + a\right )}^{\frac {8}{3}} a^{3}}{x^{8}}\right )}}{b^{5} - \frac {3 \, {\left (b x^{3} + a\right )} b^{4}}{x^{3}} + \frac {3 \, {\left (b x^{3} + a\right )}^{2} b^{3}}{x^{6}} - \frac {{\left (b x^{3} + a\right )}^{3} b^{2}}{x^{9}}}\right )} d^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int {\left (b\,x^3+a\right )}^{2/3}\,{\left (d\,x^3+c\right )}^2 \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 7.27, size = 131, normalized size = 0.60 \[ \frac {a^{\frac {2}{3}} c^{2} x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {2}{3}, \frac {1}{3} \\ \frac {4}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {4}{3}\right )} + \frac {2 a^{\frac {2}{3}} c d x^{4} \Gamma \left (\frac {4}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {2}{3}, \frac {4}{3} \\ \frac {7}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {7}{3}\right )} + \frac {a^{\frac {2}{3}} d^{2} x^{7} \Gamma \left (\frac {7}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {2}{3}, \frac {7}{3} \\ \frac {10}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {10}{3}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________